package com.zx.retrofit2andRxJava2.http.api;

import com.zx.retrofit2andRxJava2.http.BaseEntity;
import com.zx.retrofit2andRxJava2.model.User;

import java.util.Map;

import io.reactivex.Flowable;
import io.reactivex.Observable;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by zhoux on 2017/3/15.
 * 注释：接口
 */

public interface UserService {
    @FormUrlEncoded
    @POST("test11")
    Flowable<BaseEntity<User>> getUser(@FieldMap Map<String, String> map);
}
